export default {
  'post|/login':  option => {
    return {
      "code": 200,
      "msg": '操作成功',
      "token": "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6Ijc3Yzc1ODE5LWNkMzQtNDVmYS1hZTk4LTlkN2ZmZTkwY2YwMiJ9._87vWEiAhi41w5r6cBL8sY4oi8LPJmpUjvQlh4Xs5RYlWJ4jFV-wq028ZIzPYWMz8VVfyVT4zm5ldHfM9JwgcA"
    };
  },
  'get|/getInfo':option=>{
    return {
      "msg": "操作成功",
      "code": 200,
      "permissions": ["*:*:*"],
      "roles": ["admin"],
      "user": {
        "searchValue": null,
        "createBy": "admin",
        "createTime": "2021-09-09 17:25:28",
        "updateBy": null,
        "updateTime": null,
        "remark": "管理员",
        "params": {},
        "userId": 1,
        "bankId": 103,
        "userName": "admin",
        "nickName": "若依",
        "note": "ry@163.com",
        "phonenumber": "15888888888",
        "sex": "1",
        "avatar": "",
        "status": "0",
        "delFlag": "0",
        "loginIp": "202.120.234.35",
        "loginDate": "2021-12-08T12:33:22.594+0800",
        "bank": {
          "searchValue": null,
          "createBy": null,
          "createTime": null,
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "params": {},
          "bankId": 103,
          "parentId": 101,
          "ancestors": null,
          "bankName": "研发部门",
          "orderNum": "1",
          "leader": "若依",
          "phone": null,
          "note": null,
          "status": "0",
          "delFlag": null,
          "parentName": null,
          "children": []
        },
        "roles": [{
          "searchValue": null,
          "createBy": null,
          "createTime": null,
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "params": {},
          "roleId": 1,
          "roleName": "超级管理员",
          "roleKey": "admin",
          "roleSort": "1",
          "dataScope": "1",
          "menuCheckStrictly": false,
          "bankCheckStrictly": false,
          "status": "0",
          "delFlag": null,
          "flag": false,
          "menuIds": null,
          "bankIds": null,
          "admin": true
        }],
        "roleIds": null,
        "postIds": null,
        "roleId": null,
        "admin": true
      }
    };
  },
  'get|/system/config/configKey/sys.user.initPassword':option=>{
    return {
      "msg": "123456",
      "code": 200
    }
  },
}
